Moved onclick class modifications to CSS