applied mainpic_hover function basics