Added active class to current front element

Added active class to element or li which is on front/displayed. This
way we can know, what is the current element displayed and usefull for
callbacks