made image picker and refactored into a navbar