Added top/bottom switcher