added toggling to the home screen