Fixes up/down movement on non webkit