Fixed layout issue for smaller viewport sizes