Fixed popping at edge cases.
Removed logs.
Merge pull request #3 from darkowlzz/sidebarBase

Fixed popping at edge cases.