make dodec size dependent on window height and more mobile support