creating view for smaller screens