clear function also hides center content