handling image selection when moving between albums