image view functionality added