Basic foreground/background started
current layer as variable
Clean up, improve shiftView call
merged changes from branch 'master'