CMS-26 CMS-29 Implement two way direction navigator

This PR is for adding two-way direction navigator when focusing on the first or last image.