Fix blocks to work for horizontal movement