added animations for transitions
created abstract class for common menu and transition
activities switched to use the common base class