change view for small devices