updating mobile style of modal