Reduce avaliable height to make the move and scroll smooth