improve layout of main fragment