changed footer so it goes vertical when in small mode