Added vertical layout and hard coded min and max sizes