Fix small screen size sliding bug