updated constraints to accommodate for keyboard