Change to jump top(or bottom) of hunk instead of no jump

If jump to next(or previous) hunk with count more than below(or above) hunks count,
no jump is occured.
I want to change to jump top(or bottom) of hunk when above case.