Transition between main page and new counter working!