added pan scene and reworked scene changer