Create PanPlay.java

To make it work you need to add a constant "public static int margin = 20" in the Constants class.