Added blocking hooks for next and previous