added active class for mobile on press events