Fixing the layout for refresh view