Minor fixes and formatting for Fade Effect sample

- moved named functions to outside start() function
- moved class variables outside of function
- declared map as Map object type
- still experiencing BorderContainer error...will issue a Bug