Fix grid sliding