fixed the layout issues on smaler devices. See #82