horizontal window resizing to works on OSX