Change the back/forward images when window becomes inactive