changed image preview controller for both list view and manage view