implemented detect win method; included zurb foundation