Refactoring & swipe support

Very refactor. Much changes. Well, basically, I refactored the background in hopes that it will be more readable.