Made the buttons appear at the top of the frame