Add screen edge detection

- Using information from pull request #1330 as well as in the issue conversation.
- Ignored `.map` files.

Based on code by @MattDease and @fenisteel
Convention is to use `@` only for properties, so this should be `this.test_dropup()`