set width to 300px for portrait