Updated with snap implementation to allow for side bar