using top instead of translate