moved mouse controles to opengl element