added transform for gear and onclick event