Implements moving sidebar content to first of list and expand sidebar text when clicking marker