Bug fixes

Altered files to fit device dimensions correctly