added image downloading functionality to top navbar