set random background image and change it when click on navigation items