modify to make it meteor friendly

using $pageslide was problematic with meteor reactivity