viewport working, almost