changed the toggleUI function into 2 separated functions (showUI and HideUI). Also redid a filter