I have the petco 6.6 bookshelf tank. I personally can't image a 5 inch frog living in it. Once you add the gravel and deco your probably looking at about 5-6 gallons and about 7-8 inches of height. You could always go with African dwarf frogs which would do much better in a short long tank.
ROLL TIDE ROLL!!!