Basic pan to reveal button working