fixed problem, wasnt using View as referencing outlet for Pan