clearing pages before page change, better btn hover