fixed error with button div width not being updated, and adjusted button sizes and positions