bottom top swicthign