Girls expect taller men and I've seen polls on this website twice that have proved it. You're not short at all, you're average, but maybe you usually run into people who are your height or taller. Especially women your height because they mostly prefer men a few inches taller than them so they can wear their heels.
Those guys are just full of themselves :p anyone shorter than them is short just because they're tall! Don't let it get to you, they just think they're better than everyone else because they're higher up in the air. To me, 5'9" is tall! I'm 5'4" and even five inches is a huge difference! So don't be put off by tall guys, you probably are waaaay more attractive than them and nicer because you don't go around labeling people! :)
I have a sister who's into guys about your height. Generally speaking, girls prefer taller men, but if you have other good traits, they will often overlook their preference. Being funny really helps, as the shorter guy friends that I have who are good with women all have a sense of humor. As for that crowd you mentioned above, what they said was unwarranted and just them trying to make you feel insecure. Weak people try to pick on others, so don't sweat their unhelpful and hurtful comments.