Fix switch positioning in iOS 6 and iOS 7
Update gitignore