refactoring screengl & fixing dragabble (not ready yet)