misc ui adjustment
added swipe logic.
imported Quartz framework.