Fix software layout for small screens