mproves css of popups in small screen