fixed sidebar click event for firefox