refactor and progress in image menu