added captions to medium sized devices and also a transition on the button