Try finding a 'determinate' variety, where they specify the length the plant will grow. 'Indeterminate' varietys can grow any length the feel like, with no set pattern.. Example of a plant to try would be Bush Early Girl Hybrid, which is a compact determinate. Otherwise try growing cherry tomatoes and clip the ends when they get too long... (stick the cut ends in water and they'll root)..
for varieties, or to request on of their free catalogs..