adapt css for portrait