added more responsiveness and possibly fixed mobile bug