Fixed sliding out bugs