Code written to solve scrollview issue in login screen.