added RWD to pages and some smaller changes in css
RWD support for error page
refactoring