add slate bindings to move and resize window