fix compass view and layout distance
add .gitignore
remove ignore file