check for GLFW_TRUE rather than GLFW_PRESS