Better dynamic layout based on screen height