Added layout code for smaller devices for new image buttons and marking functionality