update code for last version of slidingmene, fix bug image size