enable page slide on next and prev