Fixing pushstate transition for webkit