added fix for front next button transition