fixed minor issues with layout on different devices