added show and hide functionality to home screen