refactored animation code
removed absolutely positioned footer code
refactoring allow() methods to use permission methods
removed unnecessary method