Prevent hashChange event to avoid jumping