UAB (UASOM) has a separate hospital just for eyes. We also have an opthalmology residency program. I've never seen a listing of rankings for opthalmology programs. However, there is a lot of money in BHAM tied up in eye research, and our med school was top 20 in NIH funding last year, so I am betting this is a good place to be. As far as getting into a residency goes, you should know that opthamology is one of the more competitive ones, so even if you get into med school, you may not get into an optho program. Should you consider transferring? You won't apply for opthalmology until you are actually in medical school. You can apply to any program in the country, from any medical school you get into. So strictly speaking, you could go to med school anywhere. However, doing eye research with the people who are in charge of the optho residency at your friendly neighborhood med school isn't a bad idea. Some people from UAB get in each year, and several people from elsewhere get in. This suggests that your odds are better if you are "local" talent.
good luck