trying to fix page transition