Code to handle switch from pillarbox mode back to normal mode added